package com.thz.friend.pojo.analysis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("student_learning_data")
public class StudentLearningData {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long userId;
    
    // 完成的课程数量
    private Integer completedCourses;
    
    // 编程作业平均分
    private Double homeworkAverageScore;
    
    // 编程挑战成功率
    private Double challengeSuccessRate;
    
    // 总学习时长(分钟)
    private Integer totalLearningTime;
    
    // 最近一次学习时间
    private LocalDateTime lastLearningTime;
    
    // 创建时间
    private LocalDateTime createTime;
    
    // 更新时间
    private LocalDateTime updateTime;
} 